﻿using System;

namespace EvoGame.Core.Helpers
{
	[Serializable]
	public class Vector<T>
	{
		public T X { get { return _x; } }
		public T Y { get { return _y; } }
		public T Z { get { return _z; } }
		public T W { get { return _w; } }

		private T _x, _y, _z, _w;

		public Vector(T x, T y)
		{
			_x = x;
			_y = y;
			_z = default(T);
			_w = default(T);
		}
		public Vector(T x, T y, T z)
		{
			_x = x;
			_y = y;
			_z = z;
			_w = default(T);
		}
		public Vector(T x, T y, T z, T w)
		{
			_x = x;
			_y = y;
			_z = z;
			_w = w;
		}
	}
}